package com.gph.saviorframework.auth.service;

import com.gph.saviorframework.auth.model.AuthSystem;
import com.gph.saviorframework.base.service.BaseService;

/**
 * Created by root on 16-7-21.
 */
public interface AuthSystemService extends BaseService<AuthSystem,String>{

    /**
     * 根据系统名称判断是否已经存在
     * @param sysName
     * @return
     */
    boolean checkExistSystem(String sysName);

    /**
     * 根据系统名称获取AuthSystem
     * @param sysName
     * @return
     */
    AuthSystem getByName(String sysName);
}
